home *** CD-ROM | disk | FTP | other *** search
- on MouseClick
- global gLabel, gSujet0, gSprSel, gLocLabel, gEtudAct
- curseur(6)
- set gLabel to "DE:mon"
- set gSujet0 to 0
- set gSprSel to 0
- set gLocLabel to "DE:OU" && gEtudAct
- end
-
- on mouseDown
- global gBoutons, gNumSpr, g1erSprLoc
- set gNumSpr to g1erSprLoc + 7
- gBoutons(appuie, gNumSpr)
- end
-
- on mouseUp
- global gBoutons, gNumSpr, g1erSprLoc, gLabel, gSujet0, gSprSel
- curseur(1)
- set monNumSpr to g1erSprLoc + 7
- if gNumSpr = monNumSpr then
- MouseClick()
- gBoutons(relache, gNumSpr)
- else
- pass()
- end if
- end
-